package com.jr.entry;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Component
public class BookInfo {
    private int book_id;
    private String book_code;
    private String book_name;
    private String book_type;
    private String book_author;
    private String publish_press;
    private String publish_date;
    private String is_borrow;
    private String createBy;
    private String creation_time;
    private String last_updatetime;

    public BookInfo(String book_code, String book_name, String book_type, String book_author, String publish_press, String publish_date, String is_borrow, String createBy, String creation_time, String last_updatetime) {
        this.book_code = book_code;
        this.book_name = book_name;
        this.book_type = book_type;
        this.book_author = book_author;
        this.publish_press = publish_press;
        this.publish_date = publish_date;
        this.is_borrow = is_borrow;
        this.createBy = createBy;
        this.creation_time = creation_time;
        this.last_updatetime = last_updatetime;
    }
}
